#ifndef _SPI_H_
#define _SPI_H_


#define SPI_DDR	 DDRB
#define SPI_MOSI PB5
#define SPI_SCK	 PB7

#define SPI_PORT_INIT	SPI_DDR|=1<<SPI_SCK|1<<SPI_MOSI;



void Init_SPI(unsigned char conf,unsigned char );
void ReInit_SPI(unsigned char conf,unsigned char );
unsigned char transmit_spi(unsigned char );

#endif
